package edu.xidian.bdilab.jrbigdata.controller.bank;


import edu.xidian.bdilab.jrbigdata.controller.response.ResponseResult;
import edu.xidian.bdilab.jrbigdata.service.bank.dealStatics.DealStaticsService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;


/**
 * @author Catfish
 * @date 2020/11/05
 */
@CrossOrigin
@RestController
@Api(tags = {"DealStatics-成交数据统计/平台成果展示"})
public class DealStaticsController {

    @Autowired
    DealStaticsService dealStaticsService;

    @PostMapping(value = "bank/dealStatics")
    ResponseResult dealStatics(){
        ResponseResult responseResult = dealStaticsService.getDealStatics();
        return responseResult;
    }
}
